﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Ogdi.Data.DataLoader
{
    [Serializable]
    public class DuplicateEntityException : Exception
    {
        public DuplicateEntityException() : base() 
        { 
        }
        
        public DuplicateEntityException(string message) : this(message, null) 
        { 
        }
        
        public DuplicateEntityException(string message, Exception innerException) : 
            base(string.Format(DataLoaderConstants.MsgDuplicateEntityException, message), innerException) 
        { 
        }
        
        protected DuplicateEntityException(SerializationInfo info, StreamingContext context) : base(info, context) 
        { 
        }
    }
}
